// JavaScript Document

jQuery(document).ready(function() {   
   //jQuery("#acts-search-t div:contains(result_search)").css('background','red');
});
function searchActDept(){
	var dep = jQuery("#depart_wise").val();
	alert(dep);
	jQuery.ajax({
				url      : "../sites/all/modules/acts/php/acts_dept_search.php",
				type     : "POST",
				datatype :"json",
				data     : {
					process: 'acts-dept',
					depid :dept,
				},
				success  :function(data){
					alert(data);
				}		  
		  });*/
	

}
function ActClearSelectBox(field){
    if (field.value!="")     {
         document.getElementById('edit-act-search-year').value = "";
         }
}

function ActClearRadioButton(field){
    if (field.value!="")    {
        var elems = document.getElementsByName('rad_act');
			   for(i=0;i<elems.length;i++)
			   elems[i].checked=false
         }
}